package club.kingyin.kyblogprouser.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import club.kingyin.commons.entity.user.Friend;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


/**
 * (Friend)表数据库访问层
 *
 * @author makejava
 * @since 2022-01-20 15:03:46
 */
public interface FriendDao extends BaseMapper<Friend> {

    @Select("select count(id) from `friend` ${ew.customSqlSegment}")
    Integer count(@Param(Constants.WRAPPER) Wrapper wrapper);

}

